/*明源后台定制样式*/
/*左侧导航图标大小设置*/
.nav-a i.iconfont-leftnav {
  font-size: 16px;
}

.tab-text-hover(@color) {
  color: @color;
  &:hover, &:focus {
    color: @color;
  }
}

.tab-text {
  @color: #09f;
  .tab-text-hover(@color);
}

.tab-text-important {
  @color: #e33;
  .tab-text-hover(@color);
}

.tab-text-normal {
  @color: #5ebc00;
  .tab-text-hover(@color);
}

.tab-text-gray {
  @color: #888;
  .tab-text-hover(@color);
}

.glyphicon {
  font-family: 'Glyphicons Halflings' !important;
  width: 22px;
  height: 22px;
  line-height: 22px;
  color: #808080;
  display: inline-block;
  text-align: center;
  font-size: 18px;
}

.checkbox-wrap-noborder {
  border-bottom-style: none;
}

.table {
  width: 100%;
}

.none {
  display: none !important;
}

.table-tr {
  height: 80px;
  vertical-align: middle;
}

.dialog-add-content {
  width: 900px;
  height: 450px;
  overflow-x: hidden;
  overflow-y: auto;
}

/*编辑界面章节title*/
.section-title {
  font-size: 14px;
}

.digit-circle {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 66px;
  border: 2px solid #ff7713;
  font-size: 12px;
  color: #ff7713;
  line-height: 12px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  float: left;
}

/*ui.css S*/
.table-wrap {
  overflow: auto !important;
}

.table-wrap td:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.table-responsive .table > tbody > tr > td {
  vertical-align: top;
}

/*E ui.css*/

.mtb20 {
  margin: 20px 0
}

.ml3 {
  margin-left: 3px;
}

.ml15 {
  margin-left: 15px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

.ml35 {
  margin-left: 35px;
}

.mt3 {
  margin-top: 3px;
}

.mt15 {
  margin-top: 15px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt35 {
  margin-top: 35px;
}

.mh60 {
  min-height: 90px;
}

.mh500 {
  min-height: 500px;
}

.h45 {
  height: 45px;
}

.pb5 {
  padding-bottom: 5px;
}

.w40 {
  width: 40px;
}

.pd6 {
  padding: 6px
}

/*过滤条件选项*/
.broker-list {
  max-height: 160px;
  a {
    margin-right: 25px;
    &:hover {
      color: #ff7713;
    }
  }
}

/*行按钮*/
.row-toolbar-head {
  cursor: pointer;
}

.row-toolbar-head:hover {
  color: #ff7713 !important;
}

.top-row-toolbar-menu {
  top: auto;
  z-index: 1;
}

.top-row-toolbar-menu-list {
  width: auto;
}

.top-row-toolbar-menu-list a {
  display: block;
  height: 28px;
  border-bottom: 1px solid #ddd;
  line-height: 28px;
  color: #333;
  padding: 0 10px;
}

/*解决IE问题*/
.clearfix {
  display: block;
}

.clearboth {
  clear: both;
}

/*table对齐*/
table.valign-t td {
  line-height: 1.5;
  vertical-align: top;
  padding-top: 10px;
  padding-bottom: 7px;
}

table.valign-b td {
  vertical-align: bottom;
}

table.valign-m td {
  vertical-align: middle;
}

table.valign-t a:hover, a:visited, a:link {
  // text-decoration: underline;
}

.table-header {
  height: 30px;
  padding-bottom: 0;
  border-bottom: none;
  &.table-header-border {
    height: 40px;
    border-bottom: solid 1px #ddd;
  }
}

/*select2样式*/
.select2-results {
  overflow-x: auto !important;
}

/*对齐方式*/
.align-r {
  text-align: right;
}

.align-l {
  text-align: left;
}

.align-m {
  text-align: center;
}

/*过滤条件控件*/
.nav_filter_show_more {
  overflow: hidden;
  height: 80px;
}

.nav-filter-list {
  overflow: hidden;
}

.nav-filter-more {
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: pointer;
  color: #ff7713;
}

.btn {
  color: #fff !important;
  outline: none !important;
}

.btn.disabled, .btn[disabled] {
  color: #999 !important;
}

/*超链接*/
.icon-none {
  background: none !important;
}

.authorize-list {
  border: 1px solid #dcdcdc
}

.authorize-title {
  background-color: #f7f7f7;
  height: 30px;
  border-bottom: 1px solid #dcdcdc;
}

.authorize-chart {
  padding: 10px;
}

.operate-btn a {
  color: #333;
}

.operate-btn a:hover {
  color: #ff7713;
}

.operate-btn i {
  vertical-align: middle
}

.operate-btn i.icon-op-edit {
  margin-top: -3px;
}

.operate-btn i.icon-op-del {
  margin-top: -1px;
}

/*续租*/
.renewal-form {
  width: 800px;
  margin-top: -10px;
}

.renewal-tbody td {
  padding: 5px 0 5px 5px;
}

.renewal-button {
  text-align: center !important;
  margin-top: 30px
}

.bd-radius-none {
  border-radius: 0;
}

.proj-view {
  padding-top: 8px;
}

.proj-view span {
  display: inline-block;
  margin-bottom: 5px;
  padding: 8px;
  background-color: #f5f5f5;
  margin-right: 5px;
}

.proj-view span i {
  padding-left: 2px;
  color: #ff7713;
}

.authorize-form {
  border: 1px solid #dcdcdc;
  margin-left: 5px !important;
  width: 99%;
  margin-top: 20px;
}

.authorize-form label {
  font-weight: normal;
  padding-left: 4px;
}

.authorize-item {
  border-bottom: 1px solid #dcdcdc;
  padding: 8px 0;
}

.authorize-item span.control-label {
  text-align: left;
}

input[type=checkbox][disabled] + label {
  color: #ccc;
}

/*续租 箭头标题*/
.steps {
  width: 100%;
}

.steps td {
  height: 30px;
  line-height: 30px;
  width: 1%;
  padding-left: 4px;
  text-align: center;
}

.steps .after, .steps .before {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  display: block;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

i.icon-op-check_grey {
  background-position: 0px -180px;
}

a:hover i.icon-op-check_grey {
  background-position: -20px -180px;
}

.steps td.first-step {
  padding-left: 0;
}

.steps td div {
  position: relative;
  width: 100%;
  height: inherit;
  line-height: inherit;
  background: #e4e4e4;
  font-size: 14px;
}

.steps td.active div {
  background: #ff7713;
  color: #fff;
}

.steps .before {
  left: 0;
  z-index: 2;
  border-left: 15px solid #fff;
}

.steps .after {
  right: -14px;
  z-index: 3;
  border-left: 15px solid #e4e4e4;
}

.steps td.active .after {
  border-left: 15px solid #ff7713;
}

.get-contract-detail {
  cursor: pointer;
  &:hover {
    text-decoration: underline;
  }
}

.download-dropdown {
  position: relative;
  display: inline-block;
  > .dropdown-menu {
    margin-top: 3px;
    background-color: #fff;
    box-shadow: 3px 3px 6px 0 #ccc;
    position: absolute;
    z-index: 9;
    right: 0;
    top: 100%;
    > li {
      &:not(:last-child) {
        border-bottom: 1px solid #eee;
      }
      &:hover {
        > a {
          background-color: #ff7713;
          color: #fff;
        }
      }
      > a {
        display: block;
        padding: 3px 10px;
        text-align: center;
        color: #333;
        white-space: nowrap;
      }
    }
  }
}

#tenant-authorize-list {
  td {
    line-height: 2;
  }
  .red {
    color: #e33;
  }
  .green {
    color: #5ebc00;
  }
  .gray {
    color: #999;
  }
  .glyphicon-pencil {
    display: none;
    font-size: 12px;
    color: #09f;
    cursor: pointer;
  }
  //tr{
  //	&:hover{
  //		.glyphicon-pencil{
  //			display: inline-block;
  //		}
  //       .vi-color{
  //           display: block;
  //       }
  //	}
  //}
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  background: #f8f8f8;
}

.edit-delivery-info {
  width: 840px;
  max-height: 450px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 12px;
  > .section {
    margin-bottom: 20px;
  }
  .glyphicon-search {
    font-size: 14px;
    position: absolute;
    right: 5px;
    top: 3px;
  }
  .edit-delivery-info-username {
    padding-right: 23px;
  }
  table {
    margin: 20px;
    td {
      position: relative;
      padding-left: 20px;
    }
  }
  .hint {
    padding: 2px 0 0 40px;
    color: red;
  }
  .title {
    padding-left: 20px;
    line-height: 2.6;
    margin-bottom: 10px;
    background-color: #f2f2f2;
  }
  input {
    display: inline-block;
    width: 160px;
    height: 28px;
    padding: 0 6px;
    border-radius: 0;
  }
  .history {
    padding: 0 20px;
    color: #999;
    table {
      width: 100%;
      margin: 0;
      tr {
        background: #f5f5f5;
        border-top: 1px solid #fff;
      }
    }
    td {
      padding: 5px 0;
    }
    time {
      margin-right: 20px;
    }
  }
}

.enabled-click-bind-record {
  color: #09f;
  cursor: pointer;
  &:hover {
    text-decoration: underline;
  }
}

.project-bind-record {
  width: 680px;
  > .header {
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    > span {
      margin-top: 4px;
    }
    input {
      width: 200px;
      margin-right: 4px;
      border-radius: 0;
    }
  }
  > .project-bind-record-list {
    max-height: 391px;
    margin: 20px 0;
    overflow: auto;
    table {
      width: 100%;
    }
  }
}

.tenant-auth-apps-info {
  padding: 6px 0;
  &:first-child {
    padding-top: 0;
  }
  &:last-child {
    padding-bottom: 0;
  }
  &:not(:last-child) {
    border-bottom: 1px solid #ccc;
  }
  li {
    &:not(:first-child) {
      padding-top: 6px;
    }
    &:not(:last-child) {
      padding-bottom: 6px;
      border-bottom: 1px solid #ccc;
    }
    > .fl {
      padding: 0 5px;
    }
  }
  .contract-num {
    white-space: normal;
  }
  .pr26 {
    padding-right: 26px;
  }
  .w126 {
    width: 126px;
  }
  .vi-color {
    cursor: pointer;
  }
  .app-info {
    &:last-of-type {
      i {
        display: none;
      }
    }
  }
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.temp-autocomplete {
  width: 160px;
  max-height: 200px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
  position: absolute;
  z-index: 9;
  left: 60px;
  overflow: auto;
  &:empty {
    display: none;
  }
  > p {
    padding: 6px 10px;
    cursor: pointer;
    &:hover,
    &.active {
      background-color: #ccc;
    }
  }
}

//.vi-color{
//    color: #f65c2d;
//}
.project-bind-info {
  width: 600px;
  max-height: 400px;
  overflow: auto;
  td {
    line-height: 3;
    &:last-child {
      line-height: 2;
      padding: 4px 6px;
    }
  }
  .app-info {
    &:last-of-type {
      i {
        display: none;
      }
    }
  }
}

.table-default-wrap {
  border: 1px solid #dcdcdc;
  .table-default {
    border: none;
  }
}

.table-default {
  width: 100%;
  border: 1px solid #dcdcdc;
  font-size: 12px;
  th {
    height: 30px;
    padding-left: 5px;
    border-bottom: 1px solid #dcdcdc;
    background-color: #f2f2f2;
  }
  td {
    padding-left: 5px;
    border-bottom: 1px solid #dcdcdc;
  }
}

.edit-deliver-form {
  .hint {
    color: red;
  }
}

.pie-chart-diagram {
  background: url('../../images/pic/pie_chart_diagram.png');
  width: 19px;
  height: 19px;
  margin: 5px 30px 5px;
  cursor: pointer;
  .pie-chart {
    position: absolute;
    z-index: 999;
    display: none;
    width: 450px;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  }
  &:hover .pie-chart {
    display: block;
  }
  .overview {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 14px;
    table {
      width: 100%;
      height: 60px;
      td:not(:last-child) {
        .item {
          display: inline-block;
          border-right: 1px solid #dddddd;
          width: 100%;
          text-align: center;
        }
      }
    }
    td {
      padding: 15px 0;
      .value {
        .highlight {
          color: #ff5c50;
          font-size: 24px;
        }
      }
    }
  }
}

/*重置表格样式*/
.table > tbody + tbody {
  border-top: 1px solid #ddd;
}

.table-responsive .table > tbody > tr > td {
  vertical-align: top !important;
}

.table-responsive .table > thead > tr > th {
  border-color: #ddd;
}

.table-responsive > table + table {
  border-top: 1px solid #ddd;
}

.tenant-authorize-list > table:first-child th {
  border-bottom: none !important;
}
